﻿using Basic.HrModel.DB;
using Basic.HrRemoteModel.EmpFile.Model;

namespace Basic.HrCollect
{
    public interface IEmpSelfFileCollect
    {
        long Add ( EmpSelfFileAdd add );
        void Delete ( DBEmpSelfFileList file );
        Result FindLast<Result> ( long empId, string classtify ) where Result : class, new();
        DBEmpSelfFileList Get ( long id );
        Result[] Gets<Result> ( long empId, string classtify ) where Result : class, new();
    }
}